/**  
* @Title: WeixinVO.java
* @Package org.mtons.controller.weixin
* @Description: TODO
* @author ma jinjian  
* @date 2016年1月23日 下午5:17:02
* @version V1.0  
*/ 
package cn.net.mtons.web.weixin;

import java.util.Map;
import java.util.Set;

/**
 * @ClassName: WeixinVO
 * @Description: 微信接口调用VO类
 * @author ma jinjian
 * @date 2016年1月23日 下午5:17:02
 *
 */
public class WeixinVO {

	private String url;
	private String json;
	private String xml;
	private Map<String, String> urlMap;
	private Map<String, String> jsonMap;
	private Map<String, String> xmlMap;
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		Set<String> set = this.urlMap.keySet();
		for(String key : set){
			this.url = this.url.replace(key, this.urlMap.get(key));
		}
	}
	public String getJson() {
		return json;
	}
	public void setJson(String json) {
		Set<String> set = this.jsonMap.keySet();
		for(String key : set){
			this.json = this.json.replace(key, this.jsonMap.get(key));
		}
	}
	public String getXml() {
		return xml;
	}
	public void setXml(String xml) {
		Set<String> set = this.xmlMap.keySet();
		for(String key : set){
			this.xml = this.xml.replace(key, this.xmlMap.get(key));
		}
	}
	public Map<String, String> getUrlMap() {
		return urlMap;
	}
	public void setUrlMap(Map<String, String> urlMap) {
		this.urlMap = urlMap;
	}
	public Map<String, String> getJsonMap() {
		return jsonMap;
	}
	public void setJsonMap(Map<String, String> jsonMap) {
		this.jsonMap = jsonMap;
	}
	public Map<String, String> getXmlMap() {
		return xmlMap;
	}
	public void setXmlMap(Map<String, String> xmlMap) {
		this.xmlMap = xmlMap;
	}
}
